projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c8c87
)
Xend: Fix handling of vnc params.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 8 May 2008 10:20:04 +0000
(11:20 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 8 May 2008 10:20:04 +0000
(11:20 +0100)
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
tools/python/xen/xend/image.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/image.py
b/tools/python/xen/xend/image.py
index 099cd32ee9838dc084cfb59a83aa5e3403c9b0aa..46517c7ac3b6332f4e92ef046a8f48e30a18cf79 100644
(file)
--- a/
tools/python/xen/xend/image.py
+++ b/
tools/python/xen/xend/image.py
@@
-294,11
+294,11
@@
class ImageHandler:
vnclisten = vnc_config.get('vnclisten',
XendOptions.instance().get_vnclisten_address())
- vncdisplay =
vnc_config.get('vncdisplay', 0
)
+ vncdisplay =
int(vnc_config.get('vncdisplay', 0)
)
ret.append('-vnc')
ret.append("%s:%s%s" % (vnclisten, vncdisplay, vncopts))
- if
vnc_config.get('vncunused', 0)
:
+ if
int(vnc_config.get('vncunused', 1)) != 0
:
ret.append('-vncunused')
elif has_sdl: